package com.liam.socket.tcp;

import java.io.IOException;
import java.net.Socket;

public class SocketClient {

    public static void main(String[] args) throws IOException {
        Socket socket = new Socket("127.0.0.1",61610) ;

        // 读取数据
        new Task.Input(socket).start();
        // 书写数据
        new Task.Output(socket).start();

    }
}

